<%--
  Created by IntelliJ IDEA.
  User: 12489
  Date: 2020/8/18
  Time: 16:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <form action="${pageContext.request.contextPath}/hello/add" method="post">
        id:<input type="text" name="id"> <br />
        name:<input type="text" name="userName"> <br />
        sal:<input type="text" name="sal"> <br />
        hobby:<input type="checkbox" name="hobby" value="lq"> 篮球
        <input type="checkbox" name="hobby" value="ls"> 篮球2
        <input type="checkbox" name="hobby" value="la"> 篮球2<br />
        <input type="submit" value="注册">
    </form>
    <hr/>
    <br/>
    <a href="${pageContext.request.contextPath}/user/list">去列表页面</a>
</body>
</html>
